﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace Kokomo.Mirror.PeFormat.Symbols
{
	[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
	struct SYMBOL_INFO
	{
		public const int NameBufferLength = 600;

		public int SizeOfStruct;
		public int TypeIndex;
		public ulong Reserved1;
		public ulong Reserved2;
		public int Index;
		public int Size;
		public long ModBase;
		public int Flags;
		public long Value;
		public long Address;
		public int Register;
		public uint Scope;
		public uint Tag;
		public int NameLen;
		public int MaxNameLen;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = NameBufferLength)]
		public string Name;
	}
}
